package com.sptpc.demo.service;

import com.sptpc.demo.model.Order;

import java.util.List;

public interface IOrderService {

    void addNewOrder(Order newOrder, List<Integer> items);

    Order getOrderById(Integer id);

    void updataOrder(Order order);

    void deleteByid(Integer id);

    List<Order> getOrderByCustomer(String customer);
}
